package com.sky.service;

import com.sky.dto.OrdersPageQueryDTO;
import com.sky.dto.OrdersPaymentDTO;
import com.sky.dto.OrdersRejectionDTO;
import com.sky.dto.OrdersSubmitDTO;
import com.sky.result.PageResult;
import com.sky.vo.OrderPaymentVO;
import com.sky.vo.OrderStatisticsVO;
import com.sky.vo.OrderSubmitVO;
import com.sky.vo.OrderVO;

public interface OrderService {
    OrderSubmitVO submitOrder(OrdersSubmitDTO ordersSubmitDTO);

    OrderPaymentVO payment(OrdersPaymentDTO ordersPaymentDTO)throws Exception;

    void paySuccess(String outTradeNo);

    PageResult pageHistory(OrdersPageQueryDTO id);

    OrderVO orderDetail(Long id);



    void repetition(Long id);

    void cancel(Long id);

    PageResult orderSearch(OrdersPageQueryDTO ordersPageQueryDTO);

    void confirm(Long id);

    void rejection(OrdersRejectionDTO ordersRejectionDTO);

    OrderStatisticsVO orderStatistics();

    void delivery(Long id);

    void completen(Long id);

    void cancel(OrdersRejectionDTO ordersRejectionDTO);

    void reminder(Long id);
}
